package com.example.zjx8969.myapplication.view

import android.content.Context
import android.graphics.Canvas
import android.graphics.LinearGradient
import android.graphics.SweepGradient
import android.util.AttributeSet
import android.view.View

class GraintView @JvmOverloads constructor(
        context: Context,
        attributeSet: AttributeSet? = null,
        defStyleAttr: Int = 0
) : View(context, attributeSet, defStyleAttr) {
/*val shader = LinearGradient()*/
    override fun onDraw(canvas: Canvas?) {
        canvas?.let {

        }

    }
}